Conditional Equivalence

نویسندگان

  • Ming Kawaguchi
  • Shuvendu K. Lahiri
  • Henrique Rebêlo
چکیده

A typical software module evolves through many versions over the course of its development. To maintain compatibility with module clients, it is crucial that a module’s behavior at its interface does not change in an undesirable manner across versions. The problem of introducing changes which break interface behavior remains one of the most daunting challenges in the maintenance of large software modules. Static equivalence checking of sequential programs is a useful mechanism to validate semantic equivalence across refactoring changes. However, most changes corresponding to bug fixes and feature additions change the behavior of programs; equivalence checking tools are of limited help in such cases. In this work, we propose the notion of conditional (partial) equivalence, a more practical notion of equivalence in which two versions of a program need only be semantically equivalent under a subset of all inputs. We provide a compositional method for checking conditional equivalence and a fix-point procedure parameterized by an abstract domain for synthesizing non-trivial conditions under which two programs are equivalent. Additionally, we propose a method called differential inlining to lazily construct summaries of behavioral differences along differential paths interprocedurally, for recursionfree programs. We discuss preliminary experience of a prototype implementation on a set of medium sized C benchmarks.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Equivalence criteria for the safety evaluation of a genetically modified crop: a statistical perspective

Safety evaluation of a genetically modified (GM) crop is accomplished by establishing its substantial equivalence to non-GM reference crops with a history of safe use. Testing hypotheses of equivalence rather than difference is the appropriate statistical approach. A necessary first step in this regard is to specify a reasonable equivalence criterion that includes a measure for discrepancy betw...

متن کامل

The Effect of Baseline Training Structure on Equivalence Class Formation in Children

Stimulus equivalence refers to the observation that training a set of overlapping conditional relations (hereafter, baseline relations) results in many other conditional relations that are not directly trained but are nevertheless systematically related to or derived from the originally trained conditional relations (hereafter, derived relations). These derived conditional relations instantiate...

متن کامل

On the Axiomatizability of Priority

This paper studies the equational theory of bisimulation equivalence over the process algebra BCCSP extended with the priority operator of Baeten, Bergstra and Klop. It is proven that, in the presence of an infinite set of actions, bisimulation equivalence has no finite, sound, ground-complete equational axiomatization over that language. This negative result applies even if the syntax is exten...

متن کامل

Equivalence of Q-Conditional Symmetries under Group of Local Transformation

The definition of Q-conditional symmetry for one PDE is correctly generalized to a special case of systems of PDEs and involutive families of operators. The notion of equivalence of Q-conditional symmetries under a group of local transformation is introduced. Using this notion, all possible single Q-conditional symmetry operators are classified for the n-dimensional (n 2) linear heat equation a...

متن کامل

Epistemic equivalence of extended belief hierarchies

In this paper, we introduce a notion of epistemic equivalence between hierarchies of conditional beliefs and hierarchies of lexicographic beliefs, thus extending the standard equivalence results of Halpern (2010) and Brandenburger et al. (2007) to an interactive setting, and we show that there is a Borel surjective function, mapping each conditional belief hierarchy to its epistemically equival...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2010